package autotest

import (
	"autoTestNew/pkg/config"
	"github.com/go-logr/logr"
	"go.uber.org/fx"
)

var Module = fx.Provide(
	NewAutoTest,
)

type AutoTest struct {
	conf   *config.ChaosDashboardConfig
	logger logr.Logger
}

func NewAutoTest(lc fx.Lifecycle, conf *config.ChaosDashboardConfig, logger logr.Logger) (*AutoTest, error) {

	return &AutoTest{
		conf:   conf,
		logger: logger,
	}, nil
}
